package com.dumengwei.cms_monthmn.service;

import java.util.List;

import javax.validation.Valid;

import com.dumengwei.cms_monthmn.entity.Company;
import com.dumengwei.cms_monthmn.entity.Patent;

public interface PatentService {
	List<Patent>list();

	Patent findPatentById(Integer id);

	void update(@Valid Patent pa);
	
	/**
	 * 查询总额
	 * @return
	 */
	Patent ze();
	
	/**
	 * 单位集合
	 * @return
	 */
	List<Company>listCom();

	void add(@Valid Patent pa);
	/**
	 * 奖励表
	 * @return
	 */
	List<Patent>mingxi();
}
